package com.itheima.service;

import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.User;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

public interface UserService extends IService<User> {

    User getByUsername(String username);

    List<String> findPermissionsByUserId(Long id);

    public List<User> findAll();

    boolean delete(String id);


    List<User> findUsers(QueryPageBean queryPageBean);


    boolean updatePW(User user);
}
